<div >
    <img onclick="window.location='<?php echo site_url('property/profile/' . $style . '/' . $listting->id) ?>'" src="<?php echo $images ?>" alt="" style="margin: 10px 0px;" width="136px;"/>
    <h3 onclick="window.location='<?php echo site_url('property/profile/' . $style . '/' . $listting->id) ?>'"><?php echo $listting->headline ?></h3>
    <div class="">
        <?php echo ucwords($listting->address_street_no .' '. $listting->address_street .' '. $listting->address_street_type .', '. $listting->address_suburb) ?><br>
        <a href="<?php echo site_url('property/profile/' . $style . '/' . $listting->id) ?>" class="view">View</a>
    </div> 
</div>